import { createApp } from "vue";

import router, { setupRouter } from "./router";
import App from "./App.vue";
import setupStore from "@/stores/index.js";

const startApp = () => {
  const app = createApp(App);
  
  setupStore(app);
  
  setupRouter(app);
  
  app.mount("#app");

  router.isReady();

  console.log("app加载完毕");
};

startApp();
